﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GuoShuCan.SDK.Web.ServerControls.Manage;
public partial class Manage_FileUpload1 : UserControlBase
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        if (this.FileUpload1.FileBytes.Length > 0)
        {
            Label3.Text = (this.FileUpload1.FileBytes.Length / 1024).ToString();
            Label6.Text = this.FileUpload1.FileName;
            Label8.Text = System.IO.Path.GetExtension(this.FileUpload1.FileName);
        }
        base.UpdateComplete();
    }
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        base.RegisterAsyncListControl(this.Button1);
    }
    /// <summary>
    /// 更新区域数据。
    /// </summary>
    protected override void OnUpdateCulture()
    {

    }
    /// <summary>
    /// 
    /// </summary>
    protected override void OnUpdateTitle()
    {

    }
}
